package com.ml.ws.model;

/**
 * 消息实体
 *
 * @author Mr.D
 * @Date 2020年6月29日
 */
public class RequestParam {
    private String cmd;
    private String period;
    private String symbol;
    private Long from;
    private Long to;
    private String topic;
    private Integer size;


    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public Long getFrom() {
        return from;
    }

    public void setFrom(Long from) {
        this.from = from;
    }

    public Long getTo() {
        return to;
    }

    public void setTo(Long to) {
        this.to = to;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "RequestParam{" +
                "cmd='" + cmd + '\'' +
                ", period='" + period + '\'' +
                ", symbol='" + symbol + '\'' +
                ", from=" + from +
                ", to=" + to +
                ", topic='" + topic + '\'' +
                ", size=" + size +
                '}';
    }
}
